home *** CD-ROM | disk | FTP | other *** search
Text File | 1999-01-12 | 3.4 KB | 145 lines | [TEXT/MPS ] |
- #
- # File: USBSampleStorageDriver.make
- #
- # Contains: A sample USB Storage Class driver
- #
- # Version: 1.1
- #
- # Copyright: © 1998-1999 by Apple Computer, Inc., all rights reserved.
- #
- # File Ownership:
- #
- # DRI: Craig Keithley
- #
- # Other Contact: xxx put other contact here xxx
- #
- # Technology: USB Drivers
- #
- # Writers:
- #
- # (CJK) Craig Keithley
- #
- # Change History (most recent first):
- #
- # <USB2> 1/11/99 CJK update to use sources from 1.1f3 DDK
- #
-
- MAKEFILE = USBSampleStorageDriver.make
- •MondoBuild• = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified
-
- #
- # symbol options
- #
- Sym•PPC = -sym full
-
- #
- # objects directory
- #
- ObjDir•PPC = :::Objects:
-
- #
- # Targets directory
- #
- TargetDir = :::Targets:
-
- #
- # Headers and Libraries directory
- #
- LibrariesDir = :::Libraries:
-
- #
- # Sample Drivers Shared Headers directory
- #
- SharedHeadersDir = :
-
- #
- # compiler options
- #
- PPCCOptions = {Sym•PPC} -d DEBUG=0 -align mac68k -i {SharedHeadersDir}
-
- #
- # PPC objects
- #
- Objects•PPC = ∂
- "{ObjDir•PPC}SampleStorageDriver.c.x" ∂
- "{ObjDir•PPC}SampleStorageDriverAPI.c.x" ∂
- "{ObjDir•PPC}SampleStorageHeader.c.x"
-
-
- #
- # Build Target
- #
- StorageDriverTarget = {TargetDir}USBSampleStorageDriver
-
-
- USBSampleStorageDriver ƒƒ {StorageDriverTarget}
-
-
- #
- # Build Resource fork of the driver
- #
- {StorageDriverTarget} ƒƒ ∂
- "{SharedHeadersDir}SampleStorageVersion.h" ∂
- "SampleStorageDriver.r" ∂
- {•MondoBuild•}
- Rez ∂
- -i "{RIncludes}" ∂
- -i "{SharedHeadersDir}" ∂
- "{RIncludes}MacTypes.r" ∂
- "SampleStorageDriver.r" ∂
- -a ∂
- -o {Targ}
-
- #
- # Storage class driver is compiled with PPC compiler
- # and added into the USBSampleStorageDriver file
- #
- {StorageDriverTarget} ƒƒ ∂
- {•MondoBuild•} ∂
- {Objects•PPC} ∂
- "SampleStorageDriver.exp"
- PPCLink ∂
- -SYM big ∂
- -map "{ObjDir•PPC}USBSampleStorageDriver.map " ∂
- -t 'ndrv' ∂
- -c 'usbd' ∂
- -o {StorageDriverTarget} {Sym•PPC} ∂
- {Objects•PPC} ∂
- -xm sharedlibrary ∂
- -share context ∂
- -@export "SampleStorageDriver.exp" ∂
- "{LibrariesDir}USBServicesLib" ∂
- "{SharedLibraries}InterfaceLib" ∂
- "{SharedLibraries}NameRegistryLib" ∂
- "{SharedLibraries}DriverLoaderLib" ∂
- "{SharedLibraries}DriverServicesLib" ∂
- "{SharedLibraries}PCILib" ∂
- "{SharedLibraries}StdCLib" ∂
- "{PPCLibraries}PPCCRuntime.o"
-
- #
- # Storage class driver
- #
- "{ObjDir•PPC}SampleStorageDriver.c.x" ƒ {•MondoBuild•} ∂
- "SampleStorageDriver.c" ∂
- "{LibrariesDir}USB.h" ∂
- "SampleStorageDriver.h"
- {PPCC} SampleStorageDriver.c -o {Targ} {PPCCOptions}
-
- "{ObjDir•PPC}SampleStorageDriverAPI.c.x" ƒ {•MondoBuild•} ∂
- SampleStorageDriverAPI.c ∂
- "{LibrariesDir}USB.h" ∂
- "{SharedHeadersDir}SampleStorageDriverAPI.h"
- {PPCC} SampleStorageDriverAPI.c -o {Targ} {PPCCOptions}
-
- #
- # Storage class driver USB interfaces
- #
- "{ObjDir•PPC}SampleStorageHeader.c.x" ƒ {•MondoBuild•} ∂
- SampleStorageHeader.c ∂
- "{LibrariesDir}USB.h" ∂
- "SampleStorageDriver.h"
- {PPCC} SampleStorageHeader.c -o {Targ} {PPCCOptions}
-
- # eof
-